package jeons.lately.dto;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class LatelyDTO {
	private Integer latelyno;
	private String url;
	private String sessionid;
	private String l_filename;
	@DateTimeFormat(pattern="yyyy-MM-dd") private Date regdt;
	
	public LatelyDTO(){
		
	}
	public LatelyDTO( String url, String sessionid, String l_filename) {
		super();
		this.url = url;
		this.sessionid = sessionid;
		this.l_filename = l_filename;

	}
	public String getL_filename() {
		return l_filename;
	}
	public void setL_filename(String l_filename) {
		this.l_filename = l_filename;
	}
	public Integer getLatelyno() {
		return latelyno;
	}
	public void setLatelyno(Integer latelyno) {
		this.latelyno = latelyno;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getSessionid() {
		return sessionid;
	}
	public void setSessionid(String sessionid) {
		this.sessionid = sessionid;
	}
	public Date getRegdt() {
		return regdt;
	}
	public void setRegdt(Date regdt) {
		this.regdt = regdt;
	}
	@Override
	public String toString() {
		return "LatelyDTO [latelyno=" + latelyno + ", url=" + url
				+ ", sessionid=" + sessionid + ", l_filename=" + l_filename
				+ ", regdt=" + regdt + "]";
	}
	
	
}
